package com.ruoyi.pachong;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.model.LoginBody;

@RestController
@RequestMapping("/allnews")
public class XinWenControlloer {
	
	
	
	@GetMapping("/hi")
    public AjaxResult hi()
    {
        AjaxResult ajax = AjaxResult.success();
        System.out.println("hi  news~");
        
        return ajax;
    }

}
